'use strict';

var gulp = require('gulp');
var jshint = require('gulp-jshint');
var config = require('../config');
var handleErrors = require('../utils/handleErrors');

// js检查
gulp.task('lint', function() {
    gulp.src(config.lint.include).pipe(jshint()).on('error', handleErrors).pipe(jshint.reporter("default"));
});
